package com.idanchuang.component.consumer;

import com.idanchuang.component.consumer.warmup.DcConsumerWarmUp;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


@Configuration
public class ConsumerWarmUpAutoConfiguration {

    @Bean
    @ConditionalOnMissingBean(name = "acgConsumerWarmUp")
    public DcConsumerWarmUp acgConsumerWarmUp() {
        return new DcConsumerWarmUp();
    }


}
